import { http,http_login } from "../axios"
export default {
  // 管理系统
  // 登录
  adminToLogin: data => http.post('/api-management/toLogin/',data),
  // 获取待审核文章
  getAuditArticle: () => http_login.post('/api-management/getAuditArticle/'),
  // 提交审核结果
  submitAudit: data => http_login.post('/api-management/submitAudit/',data),
  // 获取举报信息
  getReportData: () => http_login.post('/api-management/getReportData/'),
  // 删除举报信息
  removeReport: data => http_login.post('/api-management/removeReport/',data),
  // 置顶文章
  isTop: data => http_login.post('/api-management/isTop/',data),
  // 添加资讯
  addMessage: data => http_login.post('/api-management/addMessage/',data),
  // 删除资讯
  removeMessage: data => http_login.post('/api-management/removeMessage/',data),
  // 获取主页所有数据
  getHomeData: () => http_login.post('/api-management/getHomeData/'),
  // 修改推广
  updataSlides: data => http_login.post('/api-management/updataSlides/',data),
  // 重新审核
  reviewArticle: data => http_login.post('/api-management/reviewArticle/',data)
}